 // #main
      var mJia=document.getElementById("ijia");
      var mJian=document.getElementById("ijian");
      var mSpn=document.getElementById("spn");
          mSpn.innerHTML=1;
      mJia.onclick=function(){
          mSpn.innerHTML++;
      }
      mJian.onclick=function(){
          if(mSpn.innerHTML>1)
               mSpn.innerHTML--;
      }
 // #main

 // 详情尺寸区
 var siLia=document.getElementById("liA");
 var siLib=document.getElementById('liB');
 var siLic=document.getElementById('liC');
 var xcentA=document.getElementById('contentA');
 var xcentB=document.getElementById('contentB');
 var xcentC=document.getElementById('contentC');
     siLia.onclick=function(){
     xcentB.style.display='none';
     xcentC.style.display='none';
     xcentA.style.display='block';
     siLib.style.background='#eeeeee';
     siLic.style.background='#eeeeee';
     siLia.style.background='white';
	 siLib.style.borderTopColor='#b5b5b5';
	 siLic.style.borderTopColor='#b5b5b5';
     siLia.style.borderTopColor='red';
     siLib.style.borderBottomColor='#b5b5b5';
	 siLic.style.borderBottomColor='#b5b5b5';
     siLia.style.borderBottomColor='white';
     };
     siLib.onclick=function(){
     xcentA.style.display='none';
     xcentC.style.display='none';
     xcentB.style.display='block';
     siLia.style.background='#eeeeee';
     siLic.style.background='#eeeeee';
     siLib.style.background='white';
	 siLia.style.borderTopColor='#b5b5b5';
	 siLic.style.borderTopColor='#b5b5b5';
     siLib.style.borderTopColor='red';
     siLia.style.borderBottomColor='#b5b5b5';
	 siLic.style.borderBottomColor='#b5b5b5';
     siLib.style.borderBottomColor='white';
    
     siLib.style.borderTopColor='#ff7474';
     };
     siLic.onclick=function(){
     xcentA.style.display='none';
     xcentB.style.display='none';
     xcentC.style.display='block';
     siLia.style.background='#eeeeee';
     siLib.style.background='#eeeeee';
     siLic.style.background='white';
	 siLia.style.borderTopColor='#b5b5b5';
	 siLib.style.borderTopColor='#b5b5b5';
     siLic.style.borderTopColor='red';
     siLia.style.borderBottomColor='#b5b5b5';
	 siLib.style.borderBottomColor='#b5b5b5';
     siLic.style.borderBottomColor='white';
     };


           
	  
